package com.zzs.server.dao.mysql;

import com.zzs.server.entity.mysql.AdminDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author zzs
 * @date 2025/03/17
 */
@Mapper
public interface AdminMapper {
    @Select("select id, password from admin where account = #{account}")
    AdminDO get(@Param("account") String account);
}
